package com.tengfei.dynamicProxy;

/**
 * @Description:
 * @author: ten_fei
 * @date: 2021-07-09 11:46
 */
public class Client {
    public static void main(String[] args) {
        UserServiceImpl userService = new UserServiceImpl();
//        userService.add();
        UserServiceProxy proxy = new UserServiceProxy();
        proxy.setUserService(userService);
        proxy.add();

    }
}
